package com.gh.shopmall.ware.feign;

import com.gh.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("shopmall-gateway")
public interface ProductFeignService {

    @RequestMapping("/api/product/spuinfo/info/{id}")
    public R info(@PathVariable("id") Long id);
}
